package com.heima.pet_shop;

public class Dog extends Pet {
    public Dog() {
    }

    public Dog(String name, int age) {
        super(name, age);
    }

    @Override
    public void paly() {
        System.out.println("小狗" + getName() + "在玩耍");
    }
}
